package com.duolaibei.business.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by xlm on 2017/11/15 0015
 */

public class OrderBeanData extends ResponseResult {

    /**
     * data : {"out_trade_no":"CTHB153047672566D","body":"8号公馆-杭州店","uid":"80","trade_no":"105550042990201711150352126831","service":"cashier","product_id":"0","pay_type":"21","total_amount":"0.01","discountable_amount":"0.00","pay_amount":"0.01","pay_uid":"0","shop_id":"21","terminal_id":"810036","agent_uid":"3543","workmen_uid":"0","extend":{"coupon":[]},"status":"1","paytime":"1510730478","addtime":"1510730476","uptime":"1510730476","remark":"","pay_name":"支付宝条码支付","merchant_name":"杭州太平洋酒吧"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * out_trade_no : CTHB153047672566D
         * body : 8号公馆-杭州店
         * uid : 80
         * trade_no : 105550042990201711150352126831
         * service : cashier
         * product_id : 0
         * pay_type : 21
         * total_amount : 0.01
         * discountable_amount : 0.00
         * pay_amount : 0.01
         * pay_uid : 0
         * shop_id : 21
         * terminal_id : 810036
         * agent_uid : 3543
         * workmen_uid : 0
         * extend : {"coupon":[]}
         * status : 1
         * paytime : 1510730478
         * addtime : 1510730476
         * uptime : 1510730476
         * remark :
         * pay_name : 支付宝条码支付
         * merchant_name : 杭州太平洋酒吧
         */

        private String out_trade_no;
        private String body;
        private String uid;
        private String trade_no;
        private String service;
        private String product_id;
        private String pay_type;
        private String total_amount;
        private String discountable_amount;
        private String pay_amount;
        private String pay_uid;
        private String shop_id;
        private String terminal_id;
        private String agent_uid;
        private String workmen_uid;
        private ExtendBean extend;
        @SerializedName("status")
        private String statusX;
        private String paytime;
        private String addtime;
        private String uptime;
        private String remark;
        private String pay_name;
        private String merchant_name;

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getTrade_no() {
            return trade_no;
        }

        public void setTrade_no(String trade_no) {
            this.trade_no = trade_no;
        }

        public String getService() {
            return service;
        }

        public void setService(String service) {
            this.service = service;
        }

        public String getProduct_id() {
            return product_id;
        }

        public void setProduct_id(String product_id) {
            this.product_id = product_id;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getDiscountable_amount() {
            return discountable_amount;
        }

        public void setDiscountable_amount(String discountable_amount) {
            this.discountable_amount = discountable_amount;
        }

        public String getPay_amount() {
            return pay_amount;
        }

        public void setPay_amount(String pay_amount) {
            this.pay_amount = pay_amount;
        }

        public String getPay_uid() {
            return pay_uid;
        }

        public void setPay_uid(String pay_uid) {
            this.pay_uid = pay_uid;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getTerminal_id() {
            return terminal_id;
        }

        public void setTerminal_id(String terminal_id) {
            this.terminal_id = terminal_id;
        }

        public String getAgent_uid() {
            return agent_uid;
        }

        public void setAgent_uid(String agent_uid) {
            this.agent_uid = agent_uid;
        }

        public String getWorkmen_uid() {
            return workmen_uid;
        }

        public void setWorkmen_uid(String workmen_uid) {
            this.workmen_uid = workmen_uid;
        }

        public ExtendBean getExtend() {
            return extend;
        }

        public void setExtend(ExtendBean extend) {
            this.extend = extend;
        }

        public String getStatusX() {
            return statusX;
        }

        public void setStatusX(String statusX) {
            this.statusX = statusX;
        }

        public String getPaytime() {
            return paytime;
        }

        public void setPaytime(String paytime) {
            this.paytime = paytime;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getUptime() {
            return uptime;
        }

        public void setUptime(String uptime) {
            this.uptime = uptime;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getPay_name() {
            return pay_name;
        }

        public void setPay_name(String pay_name) {
            this.pay_name = pay_name;
        }

        public String getMerchant_name() {
            return merchant_name;
        }

        public void setMerchant_name(String merchant_name) {
            this.merchant_name = merchant_name;
        }

        public static class ExtendBean {
            private List<?> coupon;

            public List<?> getCoupon() {
                return coupon;
            }

            public void setCoupon(List<?> coupon) {
                this.coupon = coupon;
            }
        }
    }
}
